package pprz.data_components.events;


import java.io.Serializable;
import java.util.EventObject;

public class AcSelectEvent extends EventObject implements Serializable {

	static final long serialVersionUID=1L;
	protected int acId;	
	
	public AcSelectEvent(Object src, int acId)
	{
		super(src);
		this.acId=acId;
	}
	
	public void setAc(int acId)
	{
		this.acId=acId;
	}
	
	public int getAc()
	{
		return this.acId;
	}
	
	@Override
	public Object getSource() {
		return super.getSource();
	}

	@Override
	public String toString() {

		return super.toString();
	}

}
